ValidatedBoolean

constructor()

A validated boolean value wth default 'true' value

Since there is basically nothing to validate on a boolean, this primarily serves to parse and correct issues with de/serialization.

Author

fzzyhmstrs since 0.2.0

See also


constructor(defaultValue: Boolean)

Parameters

defaultValue

the default boolean state